# Tanım: GNOME anahtarlık işlevleri
# URL: https://wiki.gnome.org/Projects/GnomeKeyring
# Paketçi: milisarge yasarciv67
# Gerekler: gcr openssh pam libcap-ng
# Grup: gnome

isim=gnome-keyring
surum=3.28.2
devir=1
kaynak=(http://ftp.acc.umu.se/pub/GNOME/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)

derle(){
	cd $isim-$surum

	sed -i -e "s/USE_NLS=yes/USE_NLS=no/" \
				 -e "s/ENABLE_NLS 1/ENABLE_NLS 0/" configure
	export CFLAGS="$CFLAGS -D_GNU_SOURCE"
	./configure --prefix=/usr \
					--mandir=/usr/man \
					--sysconfdir=/etc \
                    --libexecdir=/usr/lib \
                    --localstatedir=/var \
                    --with-pam-dir=/usr/lib/security \
					--disable-gtk-doc \
					--disable-nls \
                    --disable-static \
                    --disable-schemas-compile
	make 
	make DESTDIR=$PKG install

	rm -rf $PKG/usr/share/gtk-doc

}
